Result: fail
Detail | Value |
---|---|
Returncode | 1 |
Time | 0:00:00.273016 |
Stdout |
Output v.a element 0: expected 1.000000, got -107374176.000000 Output v.b element 0: expected 2.000000, got -107374176.000000 Output v.b element 1: expected 3.000000, got -107374176.000000 Output v.b element 2: expected 4.000000, got -107374176.000000 Output v.b element 3: expected 5.000000, got -107374176.000000 Output v.c element 0: expected 6.000000, got -107374176.000000 Output v.c element 1: expected 7.000000, got -107374176.000000 Output v.c element 2: expected 8.000000, got -107374176.000000 Output v.c element 3: expected 9.000000, got -107374176.000000 Output v.c element 4: expected 10.000000, got -107374176.000000 Output v.c element 5: expected 11.000000, got -107374176.000000 Output v.c element 6: expected 12.000000, got -107374176.000000 Output v.c element 7: expected 13.000000, got -107374176.000000 Output v.c element 8: expected 14.000000, got -107374176.000000 Output v.d element 0: expected 15, got -858993460 Output v.d element 1: expected 16, got -858993460 Output v.e element 0: expected 17, got -858993460 Output v.e element 1: expected 18, got -858993460 Output v.e element 2: expected 19, got -858993460 Vertex shader: #version 300 es precision highp float; #define DECLARE_VARYING(DIR, TYPE, NAME) flat DIR TYPE NAME #define VARYING(NAME) NAME struct S { float a; vec4 b; mat3 c; ivec2 d; uvec3 e; }; in vec4 pos; DECLARE_VARYING(out, S, v); void main() { gl_Position = pos; VARYING(v).a = 1.0; VARYING(v).b = vec4(2.0, 3.0, 4.0, 5.0); VARYING(v).c = mat3(6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0); VARYING(v).d = ivec2(15, 16); VARYING(v).e = uvec3(17, 18, 19); } Fragment shader: #version 300 es precision highp float; #define DECLARE_VARYING(DIR, TYPE, NAME) flat DIR TYPE NAME #define VARYING(NAME) NAME struct S { float a; vec4 b; mat3 c; ivec2 d; uvec3 e; }; DECLARE_VARYING(in, S, v); out vec4 color; void main() { bool pass = true; if (VARYING(v).a != 1.0) pass = false; if (VARYING(v).b != vec4(2.0, 3.0, 4.0, 5.0)) pass = false; if (VARYING(v).c != mat3(6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0)) pass = false; if (VARYING(v).d != ivec2(15, 16)) pass = false; if (VARYING(v).e != uvec3(17, 18, 19)) pass = false; if (pass) color = vec4(0.0, 1.0, 0.0, 1.0); else color = vec4(1.0, 0.0, 0.0, 1.0); } |
Stderr |
SWR detected AVX2 vert shader 0x7f15ba459000 frag shader 0x7f15ba457000 so shader 0x7f15ba455000 fetch shader 0x7f15ba453000 SWR destroy screen! |
Environment |
PIGLIT_SOURCE_DIR="/home/ilia/src/piglit" PIGLIT_PLATFORM="mixed_glx_egl" |
Command | /home/ilia/src/piglit/bin/ext_transform_feedback-structs_gles3 basic-struct run-no-fs -auto -fbo |
dmesg |